const {ipcRenderer} = require('electron');
const $ = require('../resources/jquery3-7-0.mini.js')
const axios = require('../resources/axios.min.js')

$("#pinnedImage").click(()=>{
    console.log('react click change')
    ipcRenderer.send('learn-return')
})

window.onload = async() => {
    axios.get('http://localhost:8082/index').then(async res=>{
        console.log(res.data)
    }).catch(err=>{
        console.log(err)
    })
}